package com.dianping.cat.home.router.entity;

import com.dianping.cat.home.router.BaseEntity;
import com.dianping.cat.home.router.IVisitor;




public class Network
  extends BaseEntity<Network>
{
  private String m_id;

  public Network() {}

/* 16 */   public Network(String id) { this.m_id = id; }




/* 21 */   public void accept(IVisitor visitor) { visitor.visitNetwork(this); }



  public boolean equals(Object obj) {
/* 26 */     if (obj instanceof Network) {
/* 27 */       Network _o = (Network)obj;

/* 29 */       if (!equals(getId(), _o.getId())) {
/* 30 */         return false;
      }

/* 33 */       return true;
    }

/* 36 */     return false;
  }


/* 40 */   public String getId() { return this.m_id; }



  public int hashCode() {
/* 45 */     int hash = 0;

/* 47 */     return hash * 31 + ((this.m_id == null) ? 0 : this.m_id.hashCode());
  }





/* 54 */   public void mergeAttributes(Network other) { assertAttributeEquals(other, "network", "id", this.m_id, other.getId()); }



  public Network setId(String id) {
/* 59 */     this.m_id = id;
/* 60 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/router/entity/Network.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */